<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>


<div class="panel-body">
    <div class="table-responsive no-border">
        <table id="contentTable" class="table table-bordered mg-t datatable">
            <thead>
            <tr>
                <th>住院号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>身份</th>
                <th>费别</th>
                <th>入院日期</th>
                <th>病情</th>
                <th>护理</th>
                <th>科室</th>
            </tr>
            </thead>
            <tbody>
            <c:forEach items="${list}" var="turn">
                <tr onclick="showCancelTurnInForm('${turn.patientId}','${turn.patVisitId}')">
                    <td>${turn.visitNo}</td>
                    <td>${turn.name}</td>
                    <td>${fns:getDictLabel(turn.sex,'SEX_DICT', '')}</td>
                    <td>${fns:getDictLabel(turn.identity,'PROFESSION_DICT', '')}</td>
                    <td>${fns:getDictLabel(turn.chargeType,'CHARGE_TYPE_DICT', '')}</td>
                    <td><fmt:formatDate value="${turn.admissionDate}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
                    <td>${fns:getDictLabel(turn.situationType,'PATIENT_STATUS_DICT', '')}</td>
                    <td>${fns:getDictLabel(turn.nursingClass,'NURSING_CLASS_DICT', '')}</td>
                    <td>${fns:getDeptName(turn.deptAdmissionTo, '')}</td>
                </tr>
            </c:forEach>
            </tbody>
        </table>
    </div>
</div>



